better warning if no path is set