fix interference while quitting