fix printing for empty collection