publishSlide fix