fixed issue with nvidia gpu