Fix block type