fixes #918