fixed two silly bugs causing crash in the vector utilities