fix for collections and default pages