Use local variable consistently

The work was already done, no need to do it again.