bugfix: issue #46