added debugging to player reset