removes extraneous form tag