Fix form type