My submit button won't submit - it's stuck on "Please wait" and eventually leads to "Bad Gateway"