mior sdjustments to handle the image.