fix "all zero" test