Fixed character truncating in msg_create().