fixes account/download.php