fixed a number of issues reguarding error handling and display in policy console