fix const to be defined.