fixed a couple minor bugs in the metabox array