fixed some problem in form helper
fixed some problem in form helper