fix some bugs about step2resourceNodes on deployment