add fallback to template if no object is available