correct shadowed variable