fix bug introduced in correlate