Fix issue #1

Thanks to Michael Paquier!