fixed syntax issues in the form builder