fix policy error