Fix bug
Fixed bug. Assignment duplicates