remove dependence template