fix to avoid poor PATH values