fixed policy bug