Thank you page always redirects to custom message