Post processing Outline problem with fog or vfx

I trying to check exclude custom depth, but i check the use custom depth on mesh near the fog, the check on the fog not work, but its work for other mesh, I will be satisfied with it, thanks for helping me =)