introduced a lighter and faster version of the index
fixed a bug concerning hashmap based caches