fixes #2902
fixes #2902