fix tables and images in report