Fixed empty list output