close and second debug txt