fixed EOF bug in Lexer, when nothing was loaded