eta: fix bugs withe fill_device and exitall_on_terminate