moved setting send message