fix slideshow not loading