small fix on variable name conflict