fixed issue of renderer tempalte id not getting set