Fixed bug in cache import