Fixed critical error in account creation