Refactor the handlePath
Detect net4