Fix device key handler policy error