fix in vector asssignment
parameter fix