Fix 2861

fixes #2861