Fixed bug in form.