Fixed bug in forms.