fixed the image size stuff