minor fix of read_table