fixed the bug that refers a wrong table.