Bugfix. Variable shadowing.