remove pointless ops