tried to fix slideshow