fixed auto size of the images and covered all the gray space