fix vector assign model