second table fix