fixed hookdebug.php