Unable to replicate reliably

However, the `trim()` is clearly wrong, fixed that

Fixes #167