edit error auttoplay for Slider