Fix bug in form builder.