revert last
fix undefined variable v2