fix some conceptual bugs with blob size