revert check-policies changes