fixed a bug with writes that spanned 2 blocks while adding a block