Fix for #133

Fixes #133.