bug fix: incorrect allocation on block_alloc()