Fixed error in current download method.