fixing bugs for lvertex