introduce new wide scanf code and remove the last remnants of old scanf