fixed issues with cache location generation.