installed metabox plugin - fixed frontend logic