cleanup, save metadata file without local mod