fix sendevent command when body is None