editing path variable

typo in a refactor