fixed a bug with account creation