submit didn't properly work on reverse proxy