How residual contamination on the ATR crystal affects measurements