Trying to fix pathVar