solved logic of grass init when no data.base exists