daca2: fixed wget function