Fix assignment to variable