found a workaround for the nvidia compilation bug, also fixed double constant compiler warning