clean up exception messages
fix globbing in list_structures