solve issue with all template metaboxes rendering