Fixed bug in policy