Fixed crossplatform compability