Fixing table misalignments