fixed download.php problem