add node configuration and fix some PATH