fixed debugging for carousel