Fixed local variable assignment