fix up preflight