fixing the images with latest tex doc