cleanup of manifest