fix losing arc bug
fix unkonw type bug
representation is working but ugly