fix slideshow limit