fixed read collection bug