remove duplicate operations from last man standing