fixed variable shadowing bug