fixed linux compability