fixed empty user string case