fixing tables with images