use context instead of doc for qsa