double redirect after form submit