Fix context not configured bug.