Fixes slideshow warnings.