fixed concurrent problem in @context cache