fixed bug on collection instance