Fix clearUp().