add return for setPolicyWarningBytes