fix download for webapp