fixing local mem for intel