remove indices