refactor: improve code for policies

Oh, I see the problem. A missing parenthesis.