fix a path variable