fixes TS-1 close #close