fixed error sending wrong message in multiple submission