Fixed reseting form.