fixes #2896
fixes #2896