Fixed remove method.