404 error in custom thank you URL after submitting the form