BUG FIX: somehow baseline mean & rms set to constant!!