fix

should not reset at EP
Merge pull request #762 from woodee/patch-57

fix