bug in getSlide method