resolve more linux errors, but many left