Fixes a bug that table_to_klasses hasn't been memorized