fix style bugs of images