more linux fixes