fixed bug of formhelper