fixed sending duplicate events

needs back port to 3.1.1