cleanup, small bug in slideshow