fixes #47