fixing an image sizing problem