fix driver creation issue