fix finding node pid