07/18/2015 07:45 EDT | Updated 07/18/2016 05:59 EDT

Weirdest Pan Am story of the day: Canadian cyclist falls, wins gold

In most races, a fall during the semifinals would cost an athlete a shot at the medals. But for Canadian track cyclist Hugo Barrette, that was not the case.

During his first semifinal heat in Saturday's men's sprint final, Barrette fell during the first half-lap. Luckily for him, when that happens in this event, the race is restarted due to a "mishap."

After the restart, Barrette won the best-of-three race against defending Pan Am champion Hersony Canelon Vera of Venezuela, securing a spot in the gold-medal final.

In the final, Barrette won his second gold medal of the Games by sweeping Nijsane Phillip of Trinidad and Tobago.