commit before sending