fix issue #25
https://github.com/orslumen/record-cache/issues/25