fix bug with upper case usernames