fixed an error message in the parser's import methods