fix constants warrnings