Fix crash on account creation