add engine for bus
fix bugs of erase