Bugfixing with copy constructor.