complete cleanup to make space for new version