fixing reference to collection