fixed caching custom directories