fix account creation bug