fix for linux compability too