Fixed bug in FormHelper