Suppress warnings
Fixed duplicated variable name in same scope