improve perfomance by avoiding double cache hit