fix several bugs in v ops