Fix undefind template variable in polite script.