static test: fix another logic error