fixed small bug in wintabs session handling