flat.table fix