add const to node