template service addition bug fix