Fix bug when roles is None
Clean waste print code