fix locale-removing aliases that break because they then have the wrong sig; fixes #2076