fixes #2868

fixes #2868