fix slide
fix typeof by using toString