Fixed remove algorithm