fixed problem with smoothly images