disabling deprecation warning when evaled constants is being called