adjust for image size incorrect