fixed trace path in script