use config value for compairison