fixed image slider class error