Salts are stable compounds that when dissolved in water can be absorbed by plants

Could you correct the punctuation please?
Salts are stable compounds that, when dissolved in water, can be absorbed by plants.