fixed templates render call (semantics internal bug)