fixed local variables.