Fixed copy assignment
Fixed assignment bug