queall checks the right runtype