small bug fixed for pulsing