empty section and .tpl improvements