fixed ExclusionPolicy case problems
fixed a warning i get
Merge pull request #15 from Fredyy90/master

fixed two small problems