[fix] condition for collections