mall template fixes