passing parent session id properly