improve process form handling