bug fix; new and edit templates didn't have the same fields