I keep getting a URL is not valid error after submitting my forms