Get rid of vector patterns