fixed name-shadowing warning