fix constants settings