fixed template object missing comma error