fixed error in hw.php