same here: check that querySelector returns something