trim slash in tracklead function

trim all the location paths in the tracklead function