On the error estimates of correlation functions