fix PutPolicy bug

bs-Bug  #3232