fixed initial-parse error reporting