fix samples/simple-slide.rb