v0.5.2: fix for issue #106