Correct local definitions in getwire()