delete unecessary copy