having probleming deleting a pointer to vector