fix exit signal