Fixed bug in cache_urls feature