fixed Context.exportTo(map) NPE