user name variable bug fix