Transparent shader and compositing fog

I built a cave with some fog and water. The water material is made of a glass shader and a transparent shader mixed together. But when I render it the fog made in the compositing creates a not transparent surface wirh the color of the fog on the water: https://i.imgur.com/QouEJIl.png Any fix for that?

1st- how are you mixing the glass and transparent? Normally you only use the transparent shader with glass to bypass shadow rays. Every other common mix is with a glossy and transparent (to bypass transmission rays).

2nd- what is your composite setup? What technic are you using to make fog?

For both, either post a sample scene, or screenshots of every settings.

1: The water material: https://i.imgur.com/bDXLk4X.png

2: The compositing setup: https://i.imgur.com/MNaWZx7.png

I replaced the glass with glossy but it still does it :frowning: