finished replace tab