removing unnecessary v=v' s