Fixed some join session bugs