fix #40 cache directory