fixed bug when changing the username