Fixed bug in insert-slide.