fix bug where all symbols were deleted during cache refresh