clean up player state