should've fixed the vector erase