I was doing some measurements by FTIR with my protein in buffer acetate 0,1M and when i want substract the buffer from the sample i have problems because i don´t obtein a flat baseline between 2000 and 1700 cm-1.
water subtraction is tricky "...spectral subtraction of water is fraught with difficulties. The water bands can shift with pH , temperature and hydrogen bonding or other interactions with the sample. It only takes about 1cm-1 shift to make subtraction a mess."
efforts to account for salt and pH can be found in:
Article Subtraction of the Water Spectra from the Infrared Spectrum ...
Article Subtraction of the Water Spectra from Infrared Spectra of Ac...
...and it can still be tricky, due to other influences, e.g. temp, hydrogen bonding, etc. Good luck!