change the mode of path strings for multi-environment