removed almhirtcontext and fixed cuncurrenthashmap misuses