fixed the image stuff