Exception: syntax error, unexpected end of file