Fix bug in username generation