validation on node model