panel refactor
clean tpl