make router preflight code more readable