Clean up KSMetaData