this fixes #266