config-> enable logic changed