fix definition of some constant