Clean UI
Fix memory structure order