fix minor bug of form builder