fix error when form has no inlines