fix q0005 to pass new test.