fix loop game