fixed bug with refresh of the same collection