Custom redirect to "thank you" page doesn't work