fixed crash in caching the rangemap extraction