add some precompilator for apply tpl
add tolower helper for utf8