Fix Session get bug