attempted at fixing carousel