fixed cache loading