Correct some errors with http resources and collections