Air in the Diesel System

Please give me an explanation where this can come from and sorry for the somewhat longer text.. The transe arranges itself a wolf and does not start. I put a transparent hose from the diesel filter to the pump and found that a lot of air is pumped with it when the air is ventilated.. new diesel filter installed again still tries a lot of air in the hose forever. Two transparent hoses connected to the pump and nailed into a canister and see that Transe runs. Now I wanted it I’m going to tap the diesel filter housing but what’s going to break it? The diaphragm of the vent pump looks like tip top. Maybe someone has a tip for me what I can still look at before I order such a big case. Thanks for your help.