work around for bugs in make_ndx