solved preflight problem