Fixed code error in sector scan.php