Fixed slideshow null errors