fixed callback logic for Metabox class