bug fixing in policy editor