added ArcUnit cleaning function