template language fix