fixes #271