replace strings by policies in qr documentation