fix the image layers