Fixed vector's bug