fix bug in form_part template