bug fix for account creation