Fix bug of block