fixing a latex issue with tables