fix bug: not allocate memory for verification