remove by index not by value