On the stretch: Ferrer was made to work for his victory