Foreign flag reset