smarten up old WID processing