Fix form reset.