added flag::remove