minor bug fix to player_main