fix image tmpl