Fix for the metabox error (hopefully)
fix a directory typo and other minor changes