Fix shadow local warning