rewrite peverify resolution method
Merge pull request #32 from eiriktsarpalis/master

rewrite peverify resolution method