post array/vector cleanup