fix stripping in path