fixing bugs on displaying categories at the carrousel