fixes #916