fix Constant defined warning