fix for path vars