[bug] header locate loop in setup.php