fixed a critical error in saving metaData.plist