fix bad return from async getsessiondata