Fixing lexing failure bug