fix vector repopulate