operator= bugfix