config context checking bug