fixes #266