Fixed bug not creating new cache dir