Fixing LOOKAT parsing