ResourceCollection fix #2