minor bug fix for cache range(first front wasn't working)