fix one marco of templates