fix change driver and config bug