clear terminate when it begins