fixed broken metabox code