proper comparison of vectors; I thought I had already fixed this...