fix router & tpl tolower