carousel bug fix