Fix assignment typo bug