fix crash when showing non-existing collections