added check to playername box