fix issue in Create account functionality