replace size_t in blob_t