Wrong assignment bug fixed.