fix app terminate bug