support template-engine-10.1 as well as shark branch