fixes empty collection