corrections to collection code and category

corrections to collection code and category