fixes for collections template