remove echo in 'get_tpl_value'.