fixed teardown issue
libraries now have the number of dimensions as a suffix