Fix driverType assignment.