fix bug template render on BE