fix idtable & bus bug