fix pulse ramping