bug - db session id was not sent correctly