linux fixes
big fix for linux machine