fix caching dir
fix regex wildcard