Bugfixing with operator=