bugfixes for configurable cache folder