Fixed add download bug
Added release of download memory