this fixes #248