Fix print_cache