Fix download hook