correct termination processing;