fix redirection after bad form