on player change bugfix