fix: set PATH before using it