fix slideshow empty content bug