remove database var from tmpl