new way to process and route collection pages to fix #137