fix test #2871