fixes linux compability