fixed copy replace abnormalities and add depreciated method again