bug fixes to policy editor