fixed first move bug