fix a slide-block bug