remove stream copy