fix failing test caused by #1967