Rename duplicated variable with the following block

This commit removes below interpreter warning.

* warning: shadowing outer local variable