fix empty collection