renames flag