error fix when post format metabox is not shwon