small fix of correlation