fix directory path