set defoult of get number of slides