remove unused operations