fixed if no path is given