Fixed double assignment