remove unused variable in `download`