cleaned index once a value is removed