fixed account creation error handling