fixed session disconnect