some fix for zinnia custom templates
some fix for zinnia custom templates