revert Template.scala