overwrite flag impl