fixes lookahead