[FIX] fixed error from last commit when loading old tables