fix bug in TABLE_MAPPING