[analysis] BUGFIX correlate for pattern correlation