move the ts to the root