fixed bug in player change