fixed driver compile issues