Fix error in Shadowing

Fixes #299: Error in Shadowing