fix empty user name bug