An AirAsia X flight from Sydney to Malaysia last year landed instead in Melbourne after the plane’s navigational system started going haywire, all because its captain accidentally omitted a single zero when he entered the destination’s coordinates.

The plane took off without a hitch just before noon on March 10, 2015, but the crew noticed something was amiss when it turned and started heading in the wrong direction. The incident was revealed Wednesday in a report by Australia’s Air Transport Safety Bureau (ATSB), cited by the Sydney Morning Herald.

The report said the typo “knocked out” several key navigational systems. The single erroneous digit had the system convinced that the plane was near the South African city of Cape Town — nearly 7,000 miles away.

The plane’s autopilot and auto-thrust features were disabled, the Herald reports, and the pilot was guided to Melbourne by air-traffic controllers. Once the problem was diagnosed, the plane was able to continue to Malaysia as planned, albeit a few hours late.

The ATSB said that “position initialization” errors happen approximately twice a year.

[SMH]

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.