fix stupidity on index consistency