correct an error on form type