Correct bug showing peaks.