fixed case of no path