Fixing slides error on carousels