Fixed assignment bug.