* fixing the double-table index bug.