fix game loop import