Remove duplicated operations