fix dw.php