cleanup
tolerate 1d array