set proper precedence on node