prevent error on empty username