Fix #253.
Merge pull request #255 from romainreuillon/fix253

Fix #253.