Fix block type.