Fixed sending error for more than one message