collections template fix