fix issue when override config