found fix for linux crashes