modify peak picking