another small fix to checkAddIndexOK