Remove unnecessary double termination