Fix #17

See discussion [here](https://github.com/olta/pe/issues/17) and [here](https://github.com/olta/pe/pull/18).