set virtual flag