Little bug fixed on deleting blocks.