resolved most linux errors, but not all