Fix assignment bug.