fix images and tables