Fixed various downloading errors.