fix render controller without template