Fix shadow variable warning