fixed the loadDriver method