Fix issue #5

I don't know much about ratchet, but here you go