Fix error with typo in assignment