fixed small bug with empty peak profiles and correctPeaks