this fixes #46