fixes slideshow