fix for issue #53