fixes #2896