Fix bug with carousel