keep cache dir
add defined or