avoid NoneType error by checking if carrousel is empty

fixes #203