Remove a warning "shadowing outer local variable - type"
Merge pull request #74 from kachick/improve/remove_warnings

Remove a warning "shadowing outer local variable - type"