add isset to template metabox check