Fixing slideshow export issue