deleteCollection fix