add safeguard to peak