fix metabox error