Quick fix to download, halfway to supprting safari, fixed again