fixed a cache collision bug