fix using a constant.

fix using a constant.