Troubleshooting

If you are a deemed resident of Canada for the tax year, you are subject to federal tax and instead of paying provincial or territorial tax, you'll pay a federal surtax. 

https://www.canada.ca/en/revenue-agency/services/tax/international-non-residents/individuals-leaving...