Fixed utils.template to replace existing values only.