template fix for v1.2