fix exit distributor bug