added filter to validate fields in metabox class #15