fix a problem "can't quit."