fix, test for issue #41