fix manager.php