carousel bug fix

carousel bug fix