Fixed local var initialization