fixed errors with user name resolution