fixes #919