revert getCacheDir method