fixed the auto array  when put/delete on a collection