Lex modified, not working