wrong deletion of .ts file