improve lexer error