foreground: fatal: unterminated block