fix shadowing warning