Fix 2999

fixes #2999