fix carousel problem