bugfix for edit form/section templates