fixed issue with missing path var