fix old preflight