fixed: cache time not saved correctly