Fix form edit