remove the declaration of the variable in the inner scope