remove deep copy stuff