Fix download method