Fixed error in carousel