fixed dodgy tables