remove(index): unused variable