fix flag links