fix for issue #41 and #42