fix issue with image widths