fix nodejs, heroku, and macos