fixed css and tpl problem