fix peak detection for dbm scale