fix test crash just introduced.