fix

should not reset at EP
Merge pull request #761 from woodee/patch-56

fix