fixed a possible intel crash