Fixed bug when converting template without configdata