get rid off unnecessary slides