debugging form redirection