Final render not same as render view when using 'set indirect only',what am i doing wrong?

using ‘set indirect only’ to render out only the water. showing exactly what i want in the render view (right side) but renders out as if the bg is blank and the environment is set to white (left bottom) what should i do ? PLEASE HELP