small fix for nvidia hardware