Fix typo in termination