fix crush on nvidia cards