cache loaded dictionary by global variable