restore vector changes