policy fix for retrieving policy generated keys