fix privileged flag