fix trace directory path