My form gets stuck at Please wait when encryption is enabled