make images display correctly