fixes the create account method