fixed cache problem by making strings keys