fix pathHelper error