cleaning .metadata