fix empty player input bug