Bugfix of setting policy
Insignificant bugfix