fix remove method from deleting too many tems