fix metabox bug