fix skipping queries without request header