fix slideshow does not work problem