fix accidental deletion of an end