set context id to unknown when not found