vectors getting reset for every init