fix the case SLIDESHOW_FILES=nil