Fixed bug where a new account cannot be created