fix issue with udilist insert, and fix arena deallocation order iteration bug