Fix bugs caused by detaching.
incr ver, welcome msg.