Fix wrong copy constructor