fix up all but "Unknown operating system" errors