RegPolicy fix