Removed the wrong check in download