Fixing an error in wish