add node state check #2