Fix bug when changing username