fixed flags url bug