table wrong in index