Account creation fix

fixes #603