fix error with empty policy file