bug fix (Cache.put)