correct small bug in create session