Fixed a warning of undefined constant.