fix in slideshow gallery