free vector if not needed