added sanity check for non-existing session or player