fix carousel issue