download fixes and improvements