errors pretty sure it is an deep copy issue